<include file="Public:header" />
  <!-- 头部 开始 -->
  <div class="header">
    <div class="header_bg"></div>
    <div class="wrap clearfix">
      <div class="logo"><img src="/Public/images/logo.png" alt=""></div>
      <div class="phone"><p>{$web.phone}</p></div>
      <ul>
        <li><a href="/">首页</a></li>
        <li><a href="{:U('Brand/brand')}">品牌介绍</a></li>
        <li><a href="{:U('Goods/index')}">产品中心</a></li>
        <li><a class="on" href="{:U('Authorization/index#Authorization')}">授权查询</a></li>
        <li><a href="{:U('News/index')}">瞳年资讯</a></li>
        <li><a href="{:U('Video/index')}">视频中心</a></li>
        <li><a href="{:U('Feedback/index')}">用户反馈</a></li>
      </ul>
    </div>
  </div>
  <!-- 头部 结束 -->

  <!-- 轮播图 开始 -->
  <div class="banner">
    <div id="full-screen-slider">
      <ul id="slides">
        <foreach name="images" item="i">
        <li style="background:url('/Public/Uploads/{$i.pic}') no-repeat center top"><a href="{$i.url}" target="_blank"></a></li>
        </foreach>
      </ul>
    </div>
  </div>
  <!-- 轮播图 结束 -->
  <!-- 授权查询 开始 -->
  <a name="Authorization" id="Authorization"></a>
  <div class="fangwei wrap">
    <div class="common_list clearfix">
      <ul>
        <li><a href="{:U('Authorization/anti_fake')}">防伪查询</a></li>
        <li class="on"><a href="#Authorization">授权查询</a></li>
      </ul>
    </div>
    <div class="content">
        
        <if condition="!$data['pic']">
        <p class="p1">
        <span class="s1">授权查询</span><br>
        <span class="s2">Security check</span>

        </p>

        <else />
        <img style="padding-top:40px;width='700px';height='100%';" class="status p1" src="/Public/Uploads/{$data.pic}" alt="">
        </if>

      <form action="{:U('Authorization/index')}" method="post">
        <input type="text" placeholder="输入授权编号" value="{$keys}" name="key" required><br>
      <if condition="$status==1">
      <p class="status" style='width: 577px;height: 25px;line-height: 25px;text-align: left;color: red;'>没有查询到对应授权</p><br>
      </if>
        <input type="submit" value="查询授权">
      </form>
      <p class="p2"><span>申明：</span>为保证每一位经销商的权益，凡是经公司正规授权的经销商，比选好公司规定进行销售产品。<br>凡是不按照公司规定价格出售产品或销售假货者，一经查实，公司将立即取消其授权资格，并立即停止收货。</p>
    </div>
  </div>
  <!-- 授权查询 结束 -->
  <script>
      $(function(){

          if($('.status').length)
          {
            location.hash="#Authorization";
          }
      });
  </script>
  <include file="Public:footer" />